<?php
declare(strict_types=1);
namespace App\Controller;

use App\Constants\UserPunishMask;
use App\Event\OrderPay;
use App\Event\UserRegister;
use App\Factory\SmsFactory;
use App\Factory\WechatFactory;
use App\Helper\Utils;
use App\Job\PositionExportJob;
use App\Library\Baidu;
use App\Library\Elasticsearch;
use App\Library\Ocr\AipOcr;
use App\Library\Sms\AliSms;
use App\Model\Admin;
use App\Model\Area;
use App\Model\CmsCategory;
use App\Model\Goods;
use App\Model\GoodsHasPromotion;
use App\Model\GoodsPicture;
use App\Model\Job;
use App\Model\JobJoin;
use App\Model\PaperQuestion;
use App\Model\PointPosition;
use App\Model\PointPositionCategory;
use App\Model\PositionHasAdmin;
use App\Model\PositionPaper;
use App\Model\PositionSupervise;
use App\Model\PositionSuperviseSheet;
use App\Model\Question;
use App\Model\RbacRoute;
use App\Model\SysConfig;
use App\Model\User;
use App\Model\UserPaperAnswer;
use App\Repositories\AdminRepository;
use App\Repositories\AreaRepository;
use App\Repositories\CommunityRepository;
use App\Repositories\OrderRepository;
use App\Repositories\QuestionRepository;
use App\Repositories\SpecialRepository;
use App\Repositories\StreetRepository;
use App\Repositories\TuangouRepository;
use App\Repositories\UserPaperAnswerRepository;
use App\Repositories\UserRelationRepository;
use App\Services\MiniProgramService;
use App\Services\OrderService;
use Carbon\Carbon;
use GuzzleHttp\Client;
use Hyperf\DbConnection\Db;
use Hyperf\Filesystem\Adapter\QiniuAdapterFactory;
use Hyperf\HttpServer\Annotation\AutoController;
use Hyperf\HttpServer\Contract\ResponseInterface;
use Hyperf\HttpServer\Router\Router;
use Illuminate\Support\Facades\Route;
use Psr\Http\Message\ResponseInterface as Psr7ResponseInterface;
use App\Repositories\CmsCategoryRepository;
use Hyperf\Di\Annotation\Inject;
use Psr\EventDispatcher\EventDispatcherInterface;
use Hyperf\HttpServer\Router\Dispatched;
use Qiniu\Auth;

/**
 * @AutoController()
 */
class TestController extends AbstractController
{
    /**
     * @Inject
     * @var EventDispatcherInterface
     */
    private $eventDispatcher;

    /**
     * @Inject
     * @var \App\Services\QueueService
     */
    protected $queue_service;

    /**
     * @Inject
     * @var WechatFactory
     */
    protected $mini_service;

    public function testQiniu(){
        $config_qiniu = config('file.storage.qiniu');
        return $config_qiniu;
    }

}
